@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./iconfont/iconfont.css";
@import "./sidebar.scss";
@import "./_form.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
  Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html,body {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

/* 整个滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  /**/
}

/* 滚动条有滑块的轨道部分 */
::-webkit-scrollbar-track-piece {
  background-color: transparent;
  border-radius: 8px;
}

/* 滚动条滑块(竖向:vertical 横向:horizontal) */
::-webkit-scrollbar-thumb {
  cursor: pointer;
  background-color: #f2f2f2;
  border-radius: 8px;
}

/* 滚动条滑块hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #999999;
}

/* 同时有垂直和水平滚动条时交汇的部分 */
::-webkit-scrollbar-corner {
  display: block; /* 修复交汇时出现的白块 */
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.tb-pagination {
  text-align: right;
}

.dailog-footer {
  text-align: center;
}

.app-container {
  padding: 20px;
}

.tb-header-bar {
  margin-bottom: 5px;
}

.wp-table-header__tooltip {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

// 弹窗面板scss
.wp-panel .el-dialog {
  .el-dialog__header {
    display: none;
  }
}
.wp-dialog-footer{
  text-align: center;
}
.wp-panel-header,
.wp-panel-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px;

  &__desc {
    font-size: 14px;
    color: #000;
    margin-bottom: 2px;
  }

  &__value {
    font-size: 13px;
    color: #666;
  }
}

.wp-panel-info {
  width: 80%;
}

.wp-panel-footer {
  min-height: 400px;
}

.wp-panel-row {
  margin-bottom: 10px;
  padding: 0 0 0 20px;

  &__desc {
    color: #99a9bf;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
  }

  &__value {
    font-size: 13px;
  }
}

.wp-sec-header{
  position: relative;
  padding-left: 10px;
}
.wp-sec-header:before {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  content: "";
  width: 3px;
  height: 14px;
  display: block;
  background: #909399;
 
}

.wp-sec-title{
  margin-bottom: 20px;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 700;
}

.wp-messageBox__delayeOff{
  display: none;
}
.wp-footer__box {
  text-align: center;
}